package com.example.kaogong.sys.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 选项
 * </p>
 *
 * @author    
 * @since 2022-03-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("t_option")
@ApiModel(value="Option对象", description="选项")
public class Option implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "选项编号")
    @TableId(value = "option_id", type = IdType.AUTO)
    private Integer optionId;

    @ApiModelProperty(value = "题目编号")
    private Integer questionId;

    @ApiModelProperty(value = "选项名")
    private String optionName;

    @ApiModelProperty(value = "选项值")
    private String optionValue;


}
